package com.neusoft.yuejian_01.service;

import com.neusoft.yuejian_01.javabean.ClubBean;
import com.neusoft.yuejian_01.javabean.ClubVideoBean;
import com.neusoft.yuejian_01.javabean.CourseBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

;

/**
 * Created by Administrator on 2017/9/29.
 */

public interface ClubService {
    // http://10.0.2.2/neu14_yuejian/API/Club/getClublist
    @GET("Club/getClublist")
    Call<List<ClubBean>> getClublist();
    //http://localhost/neu14_yuejian/API/Club/getClubDetail/c_id/1
    @GET("Club/getClubDetail")
    Call<ClubBean> getClubDetail(@Query("c_id") String c_id);
    // http://localhost/neu14_yuejian/API/Clubcourse/getClubcourselist/c_id/1
    @GET("Clubcourse/getClubcourselist")
    Call<List<CourseBean>> getClubcourselist(@Query("c_id") String c_id);
    //http://localhost/neu14_yuejian/API/Club/getClubSearchlist/c_name/l
    @GET("Club/getClubSearchlist")
    Call<List<ClubBean>> getClubSearchlist(@Query("c_name") String c_name);
    //http://localhost/neu14_yuejian/API/Clubvideo/getClubvideolist/c_id/1
    @GET("Clubvideo/getClubvideolist")
    Call<List<ClubVideoBean>> getClubvideolist(@Query("c_id") String c_id);

}
